#core的cmake
cmake_minimum_required(VERSION 3.1)
set(CMAKE_CXX_COMPILER "/usr/bin/g++")
add_definitions(-std=c++11)
include_directories(./)
add_subdirectory(reactor)
link_directories(../module ../lib)
aux_source_directory(. DIR_LIB_SRCS)
add_library (core ${DIR_LIB_SRCS})
target_link_libraries(core reactor module lib)